package com.xiongwei.builder;

/**
 * 抽象构造者
 *
 * 持有产品对象，用来返回产品
 * @author XiongWei
 * @date 2024/1/18
 */
public abstract class HouseBuilder {

    private House house = new House();

    public abstract void buildBasic();
    public abstract void buildWall();
    public abstract void buildRoof();

    public House buildHouse() {
        return house;
    }
}
